package com.shop.dao;

import com.shop.entity.User;


/**
 * @Description TODO
 * @Author hyl
 * @Date 2022/3/10 9:15
 **/
public interface UserDao {

	/**
	 * 根据账号，获取用户信息
	 * @param account
	 * @return
	 */
	public User findUserByAccount(String account);

	/**
	 * 添加用户
	 * @param user
	 * @return
	 */
	public int add(User user) ;
}
